// import  Cookies from 'js-cookie'

// const field = 'api_auth';

// export function getAuthCookie() {
//     return Cookies.get(field);
// }

// export function setAuthCookie(data) {
//     return Cookies.set(field, data);
// }

export function removeAuthCookie() {
    return Cookies.remove(field);
}

// export function getUserInfo(data) {
//     return localStorage.setItem(field, data)
// } 
export function authPermissionFunction(funID){
    // let permission_button = JSON.parse(localStorage.getItem('permission_button'))
    // if(permission_button && permission_button[funID]){
    //     return true;
    // }
    return true;
}